package com.klb.service.catalog;

import java.util.HashMap;
import java.util.List;

import com.klb.model.BbsArticle;

public interface SingleServiceCatalog {
	
	/**
	 * 
	 * @param articleId
	 * @return
	 */
	public BbsArticle getArticleById(int articleId);
    
	/**
	 * 
	 * @param article
	 * @return
	 */
	public String getBlockNameByArticle(BbsArticle article);
    
	/**
	 * 
	 * @param articleId
	 * @return
	 */
	public List<HashMap<String, Object>> packReplyByArticleId(int articleId);
    
	/**
	 * 
	 * @param userId
	 * @param articleId
	 * @param text
	 * @return
	 */
	public boolean addReplyIsSuccess(int userId, int articleId, String text);

}
